package com.cardone.platform.common.dto;

import java.util.Date;
import java.util.List;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import org.springframework.data.annotation.Transient;

import com.cardone.platform.common.po.OperateLog;

/**
 * 操作日志
 *
 * @author yaohaitao
 * 
 */
@Getter
@Setter
@Accessors(chain = true)
public class OperateLogDto extends OperateLog {
	/**
	 * 版本号
	 */
	@Transient
	private static final long serialVersionUID = 308205855709000225L;
	
	
	/**
	 * 操作日志
	 * 
	 * @author yaohaitao
	 * 
	 */
	public enum Attributes {
	
		/**
	     * 业务代码
	     */
		businessCode,
	
		/**
	     * 消息
	     */
		message,
	}
	
	/**
	 * 操作日志
	 * 
	 * @return 操作日志
	 */
	public static OperateLogDto newOperateLog() {
		return new OperateLogDto();
	}
}